<template>
  <el-row :gutter="20">
    <el-col :span="8">
      <el-input placeholder="请输入内容" class="input-with-select" v-model="query">
        <el-button slot="append" icon="el-icon-search"></el-button>
      </el-input>
    </el-col>
    <el-col :span="2">
      <!-- 按钮插槽 -->
      <slot></slot>
    </el-col>
  </el-row>
</template>

<script>
import {createNamespacedHelpers} from 'vuex';
const {mapState} = createNamespacedHelpers('users');
export default {
    data() {
      return {
        
      }
    },
    methods: {   getSearch(){
      // this.getUsersData();
      console.log(',.')
    },
    },
    computed: {
        ...mapState(['query'])
    },
}
</script>